package d0906;
import java.util.Random;

public class Random类 {
    public static void main(String[] args) {

        // 随机种子: 伪随机  , 相同随机种子==> 相同随机值序列
        Random r1 = new Random(1);
        Random r2 = new Random(1);

        System.out.printf(" %d  %d \n", r1.nextInt(), r2.nextInt());
        System.out.printf(" %d  %d \n", r1.nextInt(), r2.nextInt());
        System.out.printf(" %d  %d \n", r1.nextInt(), r2.nextInt());

    }
}
